package org.jeecg.modules.demo.zyExam.zypaperperson.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 试卷和人中间表
 * @Author: jeecg-boot
 * @Date:   2024-01-11
 * @Version: V1.0
 */
@Data
@TableName("zy_paper_person")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(name="zy_paper_person对象", description="试卷人员")
public class ZyPaperPerson implements Serializable {
    private static final long serialVersionUID = 1L;
    /**工地id*/
    @Excel(name = "工地id", width = 15)
    @Schema(name = "工地id")
    private String siteId;
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(name = "主键")
    private String id;
	/**创建人*/
    @Schema(name = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(name = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(name = "是否考试")
    private String isExam;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(name = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(name = "所属部门")
    private String sysOrgCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @Schema(name = "姓名")
    private String name;
	/**试卷名称*/
	@Excel(name = "试卷名称", width = 15)
    @Schema(name = "试卷名称")
    private String source;
	/**考试时间*/
	@Excel(name = "考试时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(name = "考试时间")
    private Date examDate;
	/**试卷总分*/
	@Excel(name = "试卷总分", width = 15)
    @Schema(name = "试卷总分")
    private Integer totalScore;
	/**分数*/
	@Excel(name = "分数", width = 15)
    @Schema(name = "分数")
    private Integer score;
	/**是否及格*/
	@Excel(name = "是否及格", width = 15)
    @Schema(name = "是否及格")
    private String isPass;
	/**判断题数目*/
	@Excel(name = "判断题数目", width = 15)
    @Schema(name = "判断题数目")
    private Integer judgeQuestionNumber;
	/**选择题数目*/
	@Excel(name = "选择题数目", width = 15)
    @Schema(name = "选择题数目")
    private Integer mutilQuestionNumber;
    /**选择题数目*/
    @Excel(name = "多选题数目", width = 15)
    @Schema(name = "多选题数目")
    private Integer mutilChoiceQuestionNumber;
	/**填空题数目*/
	@Excel(name = "填空题数目", width = 15)
    @Schema(name = "填空题数目")
    private Integer fillQuestionNumber;
	/**试卷id*/
	@Excel(name = "试卷id", width = 15)
    @Schema(name = "试卷id")
    private String paperId;
	/**判断题答案*/
	@Excel(name = "判断题答案", width = 15)
    @Schema(name = "判断题答案")
    private String judgeQuestionAnswer;
	/**选择题答案*/
	@Excel(name = "选择题答案", width = 15)
    @Schema(name = "选择题答案")
    private String mutilQuestionAnswer;
    /**多选题答案*/
    @Excel(name = "选择题答案", width = 15)
    @Schema(name = "选择题答案")
    private String mutilChoiceQuestionAnswer;
	/**填空题答案*/
	@Excel(name = "填空题答案", width = 15)
    @Schema(name = "填空题答案")
    private String fillQuestionAnswer;

}
